package cn.miaoyao.miaoyaoms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_sample")
@ApiModel(value="Sample对象", description="")
public class Sample implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "植物库来源")
    private Integer basicSrc;

    @ApiModelProperty(value = "标本名")
    private String zhname;

    @ApiModelProperty(value = "采集地")
    private String gatherSite;

    @ApiModelProperty(value = "经纬度海拔")
    private String gpsLnlaal;

    @ApiModelProperty(value = "省")
    private String posSheng;

    @ApiModelProperty(value = "市 ")
    private String posCity;

    @ApiModelProperty(value = "区/县")
    private String posQu;

    @ApiModelProperty(value = "乡/路")
    private String posOther;

    @ApiModelProperty(value = "采集人/号")
    private String gather;

    @ApiModelProperty(value = "采集时间")
    private Integer gatherTime;

    @ApiModelProperty(value = "鉴定人")
    private String identify;

    @ApiModelProperty(value = "鉴定时间")
    private Integer identifyTime;

    @ApiModelProperty(value = "有花有果，无花无果，有花无果，无花有果")
    private Boolean sampleStatus;

    @ApiModelProperty(value = "无,第三次资源普查,第四次资源普查")
    private Boolean surveyStatus;

    @ApiModelProperty(value = "生长环境")
    private String growthenv;

    @ApiModelProperty(value = "习性描述")
    private String descript;

    @ApiModelProperty(value = "标本图片")
    private String picture;

    @ApiModelProperty(value = "标本图集")
    private String imgs;

    @ApiModelProperty(value = "馆藏条码")
    private String collectCode;

    @ApiModelProperty(value = "状态：0采集 1编辑 2发布")
    private Boolean status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "有效标记")
    private Boolean mark;

    @ApiModelProperty(value = "添加时间")
    private Integer createTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;


}
